package net.xju_13_14.service;

import lombok.Data;
import lombok.Setter;
import net.xju_13_14.dao.StudentDao;
import net.xju_13_14.entity.Student;

public class StudentService {

//    @Setter
//    private StudentDao studentDao;

    public String sayHello() {
        StudentDao studentDao = new StudentDao();

        // 记录日志
        String s = studentDao.sayHello();
//        String s = "service";
        System.out.println("123");
        // 提交事务  回滚
        // 记录日志
        return s;
    }
}
